package cn.edu.hhu.Bean;

import java.sql.Timestamp;

/**
 * @anthor: lddd
 * @date: 2020/5/10 - 13:16
 * @description:
 **/
public class AttendanceTask {
    long tnum;//任务id
    long cid;//课程id
    Timestamp start_time;//签到开始时间
    Timestamp end_time;//签到结束时间
    String pwd;//签到口令
    Timestamp release_time;//发布签到时间
    String tname;//签到名称

    public AttendanceTask() {
    }

    @Override
    public String toString() {
        return "AttendanceTask{" +
                "tnum=" + tnum +
                ", cid=" + cid +
                ", start_time=" + start_time +
                ", end_time=" + end_time +
                ", pwd='" + pwd + '\'' +
                ", release_time=" + release_time +
                ", tname='" + tname + '\'' +
                '}';
    }

    public AttendanceTask(long tnum, long cid, Timestamp start_time, Timestamp end_time, String pwd, Timestamp release_time, String tname) {
        this.tnum = tnum;
        this.cid = cid;
        this.start_time = start_time;
        this.end_time = end_time;
        this.pwd = pwd;
        this.release_time = release_time;
        this.tname = tname;
    }

    public long getTnum() {
        return tnum;
    }

    public void setTnum(long tnum) {
        this.tnum = tnum;
    }

    public long getCid() {
        return cid;
    }

    public void setCid(long cid) {
        this.cid = cid;
    }

    public Timestamp getStart_time() {
        return start_time;
    }

    public void setStart_time(Timestamp start_time) {
        this.start_time = start_time;
    }

    public Timestamp getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Timestamp end_time) {
        this.end_time = end_time;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Timestamp getRelease_time() {
        return release_time;
    }

    public void setRelease_time(Timestamp release_time) {
        this.release_time = release_time;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }
}
